package com.it.base.arithmetic.base.dm.strategy.strategy;

import com.it.base.arithmetic.base.dm.strategy.Strategy;

import java.util.Map;

/**
 * 微信的支付策略
 */
public class WXPayStrategy implements Strategy {
    @Override
    public Boolean payOrder(Map<String, Object> mapeyParms) {
        // 处理具体的业务流程等
        Object obj =  mapeyParms.get("wx");
        if(obj instanceof String){
            return true;
        }else{
            return false;
        }
    }
}
